<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .active{
            border: 2px solid blue;
            border-radius: 5px;
        }
    </style>
</head>
<body>
    <script src="vue3.js"></script>
    <div id="app">
        <div>
            <h3 v-bind:title="title">切换图片边框</h3>
            <img v-bind:src="img" width="100" height="100" v-bind:class="{active:isActive}">
        </div>
        <p v-bind:style="{color:textColor, fontSize: fontSizr + 'px'}">Tis is a paragraph.</p>
    </div>
</body>
</html>